import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import 'intl';
import 'intl/locale-data/jsonp/en';
import './uni.promisify.adaptor'

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.component('search', search)
app.component('SideEdge', SideEdge)
app.$mount()

// 设置全屏模式
plus.navigator.setFullscreen(true);
plus.screen.lockOrientation('landscape');

// #endif


// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import SideEdge from "@/components/SideEdge/index.vue"
import search from "@/components/search/index.vue"
export function createApp() {
	const app = createSSRApp(App)

	app.component("SideEdge", SideEdge);

	app.component("search", search);

	return {
		app
	}
}
// #endif